-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Migrate independent plugins to AndroidX #1103
Conversation
The original Android support libraries have been deprecated in favor of AndroidX. This migration shouldn't affect behavior in a user noticeable way, but does require plugin users to also migrate their app. See [migrating to AndroidX](https://developer.android.com/jetpack/androidx/migrate). Migrates all of our plugins without pub interdepencies to use the new AndroidX support libraries. At least one followup PR will be required to update the remaining plugins that depend on these after this is pushed to pub. - android_intent - battery - connectivity - device_info - firebase_auth - firebase_core - google_maps_flutter - google_sign_in - image_picker - in_app_purchase - local_auth - location_background - package_info - path_provider - quick_actions - sensors - share - shared_preferences - url_launcher - video_player - webview_flutter
I tested this locally using AndroidX plugin with current Flutter and it looks good. Should we bump the gradle plugins while we're at it to 3.3.0? As in flutter/flutter#26913 It looks like this all works and builds, so maybe we could do that as a separate patch. Either way, LGTM |
Does this conflict with our mandate to keep plugins working with the last stable flutter release? |
I've spot checked some of the example apps with |
@jonahwilliams this appears to be backwards compatible (plugins using AndroidX seem to work with Flutter using older support libs), although in the reverse direction it seems to not be (e.g. if someone is using AndroidX in their app, they can't use plugins on the older support libs). |
This reverts commit 59e84d8.
The original Android support libraries have been deprecated in favor of AndroidX. This migration shouldn't affect behavior in a user noticeable way, but does require plugin users to also migrate their app. See [migrating to AndroidX](https://developer.android.com/jetpack/androidx/migrate). Migrates all of our plugins without pub interdepencies to use the new AndroidX support libraries. At least one followup PR will be required to update the remaining plugins that depend on these after this is pushed to pub. - android_intent - battery - connectivity - device_info - firebase_auth - firebase_core - google_maps_flutter - google_sign_in - image_picker - in_app_purchase - local_auth - location_background - package_info - path_provider - quick_actions - sensors - share - shared_preferences - url_launcher - video_player - webview_flutter
This reverts commit 189f3d2.
The original Android support libraries have been deprecated in favor of AndroidX. This migration shouldn't affect behavior in a user noticeable way, but does require plugin users to also migrate their app. See [migrating to AndroidX](https://developer.android.com/jetpack/androidx/migrate). Migrates all of our plugins without pub interdepencies to use the new AndroidX support libraries. At least one followup PR will be required to update the remaining plugins that depend on these after this is pushed to pub. - android_intent - battery - connectivity - device_info - firebase_auth - firebase_core - google_maps_flutter - google_sign_in - image_picker - in_app_purchase - local_auth - location_background - package_info - path_provider - quick_actions - sensors - share - shared_preferences - url_launcher - video_player - webview_flutter
The original Android support libraries have been deprecated in favor of
AndroidX. This migration shouldn't affect behavior in a user noticeable
way, but does require plugin users to also migrate their app. See
migrating to AndroidX.
Migrates all of our plugins without pub interdepencies to use the new
AndroidX support libraries. At least one followup PR will be required to
update the remaining plugins that depend on these after this is pushed
to pub.
flutter/flutter#23995